﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TrangChu.master" AutoEventWireup="true"
    CodeFile="Xem_Khuyen_Mai.aspx.cs" Inherits="Xem_Khuyen_Mai" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <a name="pagging1"></a>
    <asp:Label ID="showthongbao" runat="server" Text="Label" Visible="False">
    </asp:Label>
    <asp:Panel ID="pnTieuDe" Width="100%" runat="server">
        <div class="cnt_block1">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="c_top_c">
                        &nbsp;<br />
                        &nbsp;THÔNG TIN KHUYẾN MÃI<br />
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
    <asp:DataList ID="DataList" Width="100%" runat="server" RepeatColumns="1">
        <ItemTemplate>
            <table border="0" width="100%" cellpadding="3" cellspacing="0">
                <tr>
                    <td align="center" colspan="2">
                        <a target="_blank" href='<%# "hinh_khuyen_mai/" + Eval("hinhanh") %>'>
                            <img border="0" id="trantrungresize" onload="chinhsizehinhanh('trantrungresize')" src='<%# "hinh_khuyen_mai/" + Eval("hinhanh") %>' /></center></a>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                         <font color="blue"><b><%# Eval("tieude") %></b></font>
                        <br />
                        <font color="blue">Ngày đăng tin :
                            <%#((DateTime)Eval("ngaydangtin")).ToString("dd/MM/yyyy") %></font>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="motasach" runat="server" ForeColor="green" Font-Italic="true" Font-Bold="true" ><%#Eval("motavantat")%></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                       <asp:Label ID="Label1" runat="server"><%#Eval("motachitiet")%></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
        <SeparatorTemplate>
            <hr color="#008000" size="1" noshade>
        </SeparatorTemplate>
    </asp:DataList>
</asp:Content>
